package org.shiwen.week2;

public class ArrayTest {
    public static void main(String[] args) {
        int[] a;//这步只是声明,内存并没有分配空间
        a= new int[10];//这步是创建，内存分配空间
        int[] b = new int[10];
        int[] c = {1,2,3,4,5,6,7,8,9,10};
        System.out.println(c);
    }
}
